package com.simple.crawler.constant;

public enum SetterValueType {

    HTML("html", "提取html节点"),
    TEXT("text", "提取html节点内容"),
    ATTR("attr", "提取html节点属性值");

    private String type;

    private String desc;

    SetterValueType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "SetterValueType{" +
                "type='" + type + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }

}
